Quantifying Behavioral Differences Between C and C++ Programs

نویسندگان

  • Brad Calder
  • Dirk Grunwald
  • Benjamin Zorn
چکیده

Improving the performance of C programs has been a topic of great interest for many years. Both hardware technology and compiler optimization research has been applied in an effort to make C programs execute faster. In many application domains, the C++ language is replacing C as the programming language of choice. In this paper, we measure the empirical behavior of a group of significant C and C++ programs and attempt to identify and quantify behavioral differences between them. Our goal is to investigate whether optimization technology that has been successful for C programs will also be successful in C++ programs. We furthermore identify behavioral characteristics of C++ programs that suggest optimizations that should be applied in those programs. Our results show that C++ programs exhibit behavior that is significantly different than C programs. These results should be of interest to compiler writers and architecture designers who are designing systems to execute object-oriented programs.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Quantifying Behavioral Differences Between C and C++ Programs ; CU-CS-698-94

Improving the performance of C programs has been a topic of great interest for many years. Both hardware technology and compiler optimization research has been applied in an effort to make C programs execute faster. In many application domains, the C++ language is replacing C as the programming language of choice. In this paper, we measure the empirical behavior of a group of significant C and ...

متن کامل

Quantifying Behavioral Differences Between C and C++ Programs (revised)

Improving the performance of C programs has been a topic of great interest for many years. Both hardware technology and compiler optimization research has been applied in an effort to make C programs execute faster. In many application domains, the C++ language is replacing C as the programming language of choice. In this paper, we measure the empirical behavior of a group of significant C and ...

متن کامل

Functional Brain Connectivity Differences Between Different ADHD Presentations: Impaired Functional Segregation in ADHD-Combined Presentation but not in ADHD-Inattentive Presentation

Introduction: Contrary to Diagnostic and Statistical Manual of Mental Disorders (DSM-5), fifth edition, some studies indicate that ADHD-inattentive presentation (ADHD-I) is a distinct diagnostic disorder and not an ADHD presentation.  Methods: In this study, 12 ADHD-combined presentation (ADHD-C), 10 ADHD-I, and 13 controls were enrolled and their resting state EEG recorded. Following thi...

متن کامل

P 12: Study of the Association between Serum Level of Cystatin C and Behavioral Symptoms of 6-Hydroxydopamine – Induced Parkinsonism in Rat

Introduction: Parkinson’s disease (PD) is the second most neurodegenerative disorder which is characterized by a progressive loss of dopaminergic neurons in the substantia nigra pars compacta. Clinical symptoms do not appear until approximately 70% of dopaminergic neurons and 80% of the striatal dopaminergic terminals have been lost. Thus, detecting nonclinical factors such as detecting b...

متن کامل

Psychiatric disorders and behavioral functions in offsprings of bipolar parents

Introduction: Psychiatric disorders and function of child and adolescent offsprings of bipolar parents were compared to that of their peers with healthy parents. Methods: In this case - control study, 52 bipolar parents along with their 72 children were compared with 48 healthy and their 63 children. The subjects were selected by simple and available methods. K-SADS, C-GAS were to collect...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994